﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;

namespace Open.Help
{
    class Languages
    {   
        string DoDOtherMarkets;
        string DoDPrimaryLanguage;
        string BOXGlinklanguage;
        string[] arrDoDOtherMarkets;
        string[] arrDoDPrimaryLanguage;
        string[] arrBOXGlinklanguage;

        public Languages()
        {
            DoDOtherMarkets = ConfigurationManager.AppSettings["Other"];
            DoDPrimaryLanguage = ConfigurationManager.AppSettings["Primary"];
            BOXGlinklanguage = ConfigurationManager.AppSettings["BOXGlinkLanguages"];

            arrDoDOtherMarkets = DoDOtherMarkets.Split(';');
            arrDoDPrimaryLanguage = DoDPrimaryLanguage.Split(';');
            arrBOXGlinklanguage = BOXGlinklanguage.Split(';');
        }

        public string[] GetOtherMarkets()
        {
            return arrDoDOtherMarkets;
        }
        public string[] GetPrimaryLanguage()
        {
            return arrDoDPrimaryLanguage;
        }
        public string[] GetBOXGlinkLanguage()
        {
            return arrBOXGlinklanguage;
        }
    }
}
